package com.junwell.common.dto;

import java.io.Serializable;

/**
 * @author Junwell
 * @date 2023/2/22 22:08
 */
public class DataDto implements Serializable {

    private Integer value;
    private String name;


     public DataDto() {
    }

    public DataDto(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    /**
     * 获取
     * @return value
     */
    public Integer getValue() {
        return value;
    }

    /**
     * 设置
     * @param value
     */
    public void setValue(Integer value) {
        this.value = value;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    public String toString() {
        return "DataDto{value = " + value + ", name = " + name + "}";
    }
}
